package com.tinysand.advert;

import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Eureka 服务治理中心应用启动入口
 *
 * Created By TINY
 * Create Time 2020/2/14
 **/
@EnableEurekaServer // 标识该应用为 Eureka 服务器（注册中心）
@SpringBootApplication
public class EurekaApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaApplication.class).bannerMode(
                Banner.Mode.OFF).run(args);
    }
}
